sysroot: Also maintain canonical boot_fd
authorColin Walters <walters@verbum.org>
Sat, 9 Jan 2021 20:40:55 +0000 (20:40 +0000)
committerColin Walters <walters@verbum.org>
Sun, 10 Jan 2021 13:46:11 +0000 (13:46 +0000)
commita1c0cffeb38fb218d9b0eac50e319fa1c79584c1
treea8acebc916333c8e9fa4f3510e71d9e9faff646f
parent10556a95b4820d713ca440015be9cb2aca6711e2
sysroot: Also maintain canonical boot_fd

Just like we hold a fd for `/sysroot`, also do so for `/boot`
instead of opening and closing it in a few places.

This is a preparatory cleanup for further work.
src/libostree/ostree-sysroot-deploy.c
src/libostree/ostree-sysroot-private.h
src/libostree/ostree-sysroot.c